package com.lvmama.pangolin.lmm.service;

import java.util.List;
import java.util.Map;






import com.lvmama.pangolin.entity.LMMCareProductVO;
import com.lvmama.pangolin.entity.lmm.LMMCareProduct;



public interface LMMCareProductService
{
	int deleteByPrimaryKey(String productId);

    int insert(LMMCareProduct record);

    int insertSelective(LMMCareProduct record);

    LMMCareProduct selectByPrimaryKey(String productId);
    
    List<LMMCareProduct> selectByCond(LMMCareProduct record);
    
    int updateByPrimaryKeySelective(LMMCareProduct record);

    int updateByPrimaryKey(LMMCareProduct record);
    
    int updateDealFlag(LMMCareProduct record);
    
    List<LMMCareProduct> getAllList(LMMCareProductVO record);
    List<LMMCareProduct> getAllCare(LMMCareProductVO record);
    List<LMMCareProduct> getAll(String productId,String productName,String cityName,String businessCode);
    List<LMMCareProduct> queryProductbyTime(Map<String ,Object> param);
    public void delAndInsert(List<LMMCareProduct> list);
    int deleteByProdRange(Map<String ,Object> param);
    public void synCareProduct(List<LMMCareProduct> list,Map<String, Object> param);
    List<LMMCareProduct> queryProductbyProd(Map<String ,Object> param);
    int  deleteByProdUnRange(Map<String ,Object> param);
}
